package easybooking.data;

/**
 * Exemplary Interface of a Plane.
 *
 * @author Hakan Keles
 *
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.7F6BA4AD-12FB-55F1-6B33-FC69E2B07708]
// </editor-fold> 
public interface Plane extends java.rmi.Remote {

    /**
     * Association to the type of the plane.
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.AF56B21B-C917-FE0F-1DB5-A5FDC1D9B775]
    // </editor-fold> 
    public static final Type is_of = null;
    /**
     * Association to the airline, which operates the plane.
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.E23F0329-9764-191B-C82D-0FABE1152968]
    // </editor-fold> 
    public static final Airline operated_by = null;

    /**
     * Read-out the ID of the plane.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.7CCDC059-DBF1-D902-8771-323D55196099]
    // </editor-fold> 
    public int getPlaneId() throws java.rmi.RemoteException;

    /**
     * Read-out the name of the plane.
     * @return name
     * @throws java.rmi.RemoteException
     */
    public String getName() throws java.rmi.RemoteException;

    /**
     * Read-out the ID of the planes type.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.D06328CE-5BF7-5497-B5E3-462A034A92A4]
    // </editor-fold> 
    public int getTypeId() throws java.rmi.RemoteException;

    /**
     * Read-out the ID of the airline, which operates the plane.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.8D06FD7B-E8B3-51AC-0987-A9DA6AA61279]
    // </editor-fold> 
    public int getAirlineId() throws java.rmi.RemoteException;

    /**
     * Set the ID of the plane.
     * @param planeId The id of the plane.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.407BD2F4-7FFD-4A18-0B2C-555C109424B1]
    // </editor-fold> 
    public void setPlaneId(int planeId) throws java.rmi.RemoteException;

    /**
     * Set the name of the plane.
     * @param name The name of the plane.
     * @throws java.rmi.RemoteException
     */
    public void setName(String name) throws java.rmi.RemoteException;

    /**
     * Set the ID of the planes type.
     * @param typeId The id of the type.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4700110D-390C-6973-BD04-D294E7354CD6]
    // </editor-fold> 
    public void setTypeId(int typeId) throws java.rmi.RemoteException;

    /**
     * Set the ID of the airline, which operates the plane.
     * @param airlineId The id of the airline.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.E1C120FF-819F-5448-71C9-F0B27F30C06D]
    // </editor-fold> 
    public void setAirlineId(int airlineId) throws java.rmi.RemoteException;

    /**
     * Read-out the status of the plane.
     * @return status
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.3A7AFFD7-507D-D6EC-BFC6-29441F03E9E3]
    // </editor-fold> 
    public boolean getIsActive() throws java.rmi.RemoteException;

    /**
     * Set the status of the plane.
     * @param status The status of the plane.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.17376987-29F9-EB6A-1467-C3D52CB3E4F1]
    // </editor-fold> 
    public void setIsActive(boolean status) throws java.rmi.RemoteException;
}

